php forum
php mysql forum
php mysql smarty
 
Page 6 of 6 < 1 2 3 4 5 6
Topic Options
#199862 - 02/04/04 11:17 PM Re: [6.5] Colorforums
Trekkie Offline
Junior Member

Registered: 05/17/01
Posts: 26
Loc: Houston, Tx
I really, really wanna upgrade to 6.7 asap.
_________________________
-Trekkie
To point, click and boldly go...

Top
#199863 - 03/01/05 02:02 PM Re: [6.5] Colorforums
Hussein Offline
Junior Member

Registered: 10/29/01
Posts: 24
How can I add a gradient without adding a style sheet?

Top
#199864 - 03/01/05 05:31 PM Re: [6.5] Colorforums
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
It's possible, but you'll need to edit the TBT sub in public_common.pl to use the gradient image.
_________________________
- Allen wavey
- What Drives You?

Top
#199865 - 03/02/05 05:56 AM Re: [6.5] Colorforums
Hussein Offline
Junior Member

Registered: 10/29/01
Posts: 24
Allen, thanks for your feedback. I still couldn't figure it out. By the way, I'm using version 6.7. Could you post a clip of the code so I know where to put it? Also, is public_common.pl the only file I need to modify?

Thanks!

Top
#199866 - 03/02/05 01:23 PM Re: [6.5] Colorforums
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
TBT will cover most places you might want the image, anywhere else wil be a matter of your preference.

I'm not at home, so I don't have code to post, but it's in:

sub TBT {

in public_common.pl and adding the background image in that table there would be the same html code you'd use for any plain html page.
_________________________
- Allen wavey
- What Drives You?

Top
#199867 - 03/02/05 01:45 PM Re: [6.5] Colorforums
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Hussein, do you want the borders to be the gradient, or something like http://www.ianspence.com/cgi-bin/ultimatebb.cgi , where the gradient is behind the text

Top
#199868 - 03/02/05 02:50 PM Re: [6.5] Colorforums
Hussein Offline
Junior Member

Registered: 10/29/01
Posts: 24
Ian, I want it exactly like your site. I want the gradient behind the text exactly as you have done. I know that it is just a matter of including the gradient image as a background for the table cell, but I couldn't figure out where to put the code.

Top
#199869 - 03/02/05 03:03 PM Re: [6.5] Colorforums
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
In your noncgi folder, there will be a folder called Styles

in there will be files. open them, and find the line that starts

q!TableColorStrip!

edit that line to be something like

q!TableColorStrip! => q~#000000" style="background-image: url('/grad1.gif');~

This will get undone when you edit styles in the CP, so remember how to do this.

you can do something similar for the line starting q!CategoryStripColor!

Top
#199870 - 03/02/05 05:28 PM Re: [6.5] Colorforums
Hussein Offline
Junior Member

Registered: 10/29/01
Posts: 24
Guys, sorry to divert the topic away from the Colorforums discussion, but I'm close to getting my layout to look the way I want.

Ian, I was only able to get the gradient to appear in the row that displays the recent visitors.

I used the following code:

Code:
  q!TableColorStrip! => q!#003743" background="grad.gif"!, 
However, for CategoryStripColor, I tried the code you listed but it needs some tweaking.

Here is my page for your reference:

http://www.netmuslims.com/bboards/ultimatebb.cgi

I appreciate all of your help.

Regards,

Hussein

Top
#199871 - 03/02/05 05:48 PM Re: [6.5] Colorforums
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
instead of using background-image, try to use background. that should override the color specified and give you the gradient.

Top
#199872 - 03/04/05 11:37 AM Re: [6.5] Colorforums
Hussein Offline
Junior Member

Registered: 10/29/01
Posts: 24
Thanks, Ian. It's looking good.

Top
#199873 - 02/23/06 10:12 PM Re: [6.5] Colorforums
REAMERE Offline
Member

Registered: 06/03/03
Posts: 60
I am trying to create a gradient for the Table Color Strip. I get the same results that Hussein got in the above posts (only the recent visitors table strip has a gradient), the other headers are #777777 in color, which is in the code, but I'm confused as to overiding it as Ian mentioned above.

After downloading the appropriate Vars file I modified the q!TableColorStrip! option.
The code I entered is below
Code:
 q!TableColorStrip! => q!#777777" qq~ style="filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#00aa00', startColorstr='#003300', gradientType='0');"~!,   
I've tried a few different permutations of that code as well as Ian's suggestions above but with the same results.

I am clearing the cache on the UBB every time I test a new Vars file as well.

Website I'm supporting is: http://www.technicalblog.org/tech/ultimatebb.cgi

UBB 6.7.2

Guest login:
Username: guest
Password: 7PKZ64

Any ideas, thanks!
_________________________
REaMERE

Top
#199874 - 02/25/06 08:36 PM Re: [6.5] Colorforums
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
what about removing the qq~ ~ from around the style tag? I see it in the source
_________________________
- Allen wavey
- What Drives You?

Top
#199875 - 02/28/06 12:35 PM Re: [6.5] Colorforums
REAMERE Offline
Member

Registered: 06/03/03
Posts: 60
Same results.
Maybe I am missing something else in the code?
Also, I deleted the old Vars, uploaded the new, set changed mode to 777, cleared the UBB cache, and cleared my browser cache.
Perhaps I am missing something, I tend to skip the obvious...
Another thought, perhaps the only way to do this is to create an actual image, and use that instead of the gradient option?
_________________________
REaMERE

Top
#199876 - 02/28/06 06:32 PM Re: [6.5] Colorforums
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
the image should work, I am wondering if the gradient only works in td's and not table's tho. Possibly the color noted in the td's is overriding the gradient set in the table that holds the td's. What does it look like in firefox?
_________________________
- Allen wavey
- What Drives You?

Top
#199877 - 03/01/06 09:57 AM Re: [6.5] Colorforums
REAMERE Offline
Member

Registered: 06/03/03
Posts: 60
Okay, so use an image created in Fireworks (etc...) instead of the Microsoft.gradient.
I guess that is what they were talking about in the above posts.

I had never looked at the site with Firefox, i never knew that it changes the look of the site a lot. Seems it doesn't like the gradients, and has trouble with background images for tables.

I'll try the graphic and see what happens.
Thanks!
_________________________
REaMERE

Top
Page 6 of 6 < 1 2 3 4 5 6



Moderator:  Charles, Gizmo 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks